package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.common.domain.ConfigWxPay;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author jh
 * 2018/11/2
 */
@Repository
public class ConfigWxPayDao {

    @Resource
    private SqlSession sqlSession;

    public List<ConfigWxPay> getConfigWxPayList() {
        return sqlSession.selectList("getConfigWxPayList");
    }

    public List<ConfigWxPay> getConfigWxPayByTypeList() {
        return sqlSession.selectList("getConfigWxPayByTypeList");
    }
}
